# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-panel
pkgver=3.36.2
pkgrel=0
pkgdesc="Gnome Panel provides panels and default applets for the gnome-flashback desktop"
url="https://wiki.gnome.org/Projects/GnomePanel"
arch="all !s390x !ppc64le !armhf !mips !mips64" # missing dep: gdm
license="GPL-2.0-or-later"
makedepends="gnome-desktop gtk+3.0-dev glib-dev pango-dev libwnck3-dev
	gnome-menus-dev evolution-data-server-dev libgweather-dev dconf-dev
	libxrandr-dev elogind-dev gnome-desktop-dev gdm-dev polkit-dev itstool
	gtk-doc"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gnome-panel/${pkgver%.*}/gnome-panel-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="cbd7eaf1778dd3f6751c020540c243b02787feb5781195fd5db008fc66683ea5330d89ab0f2c740020695c4da7856b5678491ec3e711d6ce41e884a0374e937b  gnome-panel-3.36.2.tar.xz"
